package com.qijian.maindata.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.maindata.domain.SdQualityDetail;
import com.qijian.tool.domain.Storage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * 质检详情对象
 *
 * @author qijian
 * @date 2024-02-27
 */

@Data
@ToString
public class SdQualityDetailVo extends SdQualityDetail {
    @ApiModelProperty(value = "工序")
    private String processName;

    private String itemName;

    private String itemCode;

    private String itemSpec;

    @ApiModelProperty("质检类型")
    private String type;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long detailId;


    private List<Storage> list;

    @ApiModelProperty("返回数值用")
    private List<String> xList;

    private Map<String, String> rightWrongMap;

    private Map<String, String> paramQtyMap;

    @ApiModelProperty("返回数值用")
    private List<SdQualityDetailVo> sdQualityDetailVoList;

    @ApiModelProperty("返回数值用")
    private List<SdQualityDetailVo> qualityDetailVoList;

    @ApiModelProperty("归属")
    private String beLong;

    @ApiModelProperty("流转卡号")
    private String circulationNo;

    @ApiModelProperty("检验项目名称")
    private String examineCode;

    @ApiModelProperty("检验标准")
    private String examineStandard;

    @ApiModelProperty("检验标准")
    private String eqpName;

    @ApiModelProperty("是否提交")
    private Boolean isSubmit;
}
